package cn.yunyichina.provider.base.dao;

import cn.yunyichina.provider.base.entity.AdvertSetting;
import cn.yunyichina.provider.framework.annotation.MyBatisRepository;
import cn.yunyichina.provider.framework.mvc.dao.BaseDao;
import cn.yunyichina.provider.framework.page.PageInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
*
* @Author auto_gen_by_tool
* @CreatedTime 2017-04-20 10:41:20
*/
@Repository
@MyBatisRepository
public interface AdvertSettingDao extends BaseDao<cn.yunyichina.provider.base.entity.AdvertSetting>{
    AdvertSetting selectByAdName(@Param("adName") String adName);
   List<AdvertSetting> selectAdvertSettingByPage(@Param("businessCode") String businessCode,@Param("pageInfo") PageInfo pageInfo);
}